

#import <UIKit/UIKit.h>
#import "BasicRenderer.h"
#import "GameController.h"

@interface EAGLView : UIView
{
@private
	id<ESRenderer> renderer;
	
	NSInteger animationFrameInterval;
	id displayLink;
	double lastTime;
	double cyclesLeft;
	GameController* sharedGameController;
    
}


@property (nonatomic) NSInteger animationFrameInterval;

- (void) startAnimation;
- (void) stopAnimation;
- (void) drawView:(id)sender;

@end